The simple answer is that Python converts all operands in an expression to the type of the most complex operand, as necessary. 简单的答复是,Python会根据需要将表达式中的所有操作数转换为最复杂的操作数的类型。
The type of the expression is the type of the right operand, and the result is the result of the right operand. 表达式的类型是右面的操作数的类型,表达式的结果是右面的操作数的结果。
Additional assignment operators that differ by the type of the right-hand operand can be defined for a class type. 可以为一个类定义许多附加的赋值操作符,这些赋值操作符会因右操作符类型不同而不同。
Functional elements are the operations that can be done to the data elements and their representations in the interface. The type of the expression is the type of the right operand, and the result is the result of the right operand. 功能元素是指对数据元素的操作及其在界面上的表达。表达式的类型是右面的操作数的类型,表达式的结果是右面的操作数的结果。